package com.ala4.oxcafe.dto;

import com.ala4.oxcafe.enums.OperateEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 操作DTO
 *
 * @author PING
 * @version 1.0.0
 * @date 2025/8/14 15:42
 */
@Data
public class OperateDTO {

    @NotNull(message = "id不能为空")
    @Schema(description = "操作ID/门店ID/单据ID")
    private Long id;

    @NotNull(message = "操作不能为空")
    @Schema(description = "冻结解冻", anyOf = {OperateEnum.class})
    private OperateEnum operate;

}
